# עÿвҪ132ַ

arm_solution                                 linear_delta     # ѡΪdelta



#---------------------------------------------------------------------------
#ǾҪĹؼ

alpha_steps_per_mm                           100              # Xÿ1mm 
                                                              # 200 16ϸ 20-2GT֣ͬ200*16/40=80
beta_steps_per_mm                            100              # Yÿ1mm 
gamma_steps_per_mm                           100              # Zÿ1mm 
extruder.hotend.steps_per_mm                 140              # E0ÿ1mm 

arm_length                                   300.5           # οʹ˵:޻Ҫ
arm_radius                                   168.5           # οʹ˵:޻Ҫ
gamma_max                                    289             # ӡ߶ȣοʹ˵:޻Ҫ

alpha_current                     1.0             # XС λΪ
beta_current                      1.0             # YС
gamma_current                     1.0             # ZС
delta_current                     1.0              # E0С

alpha_dir_pin                     0.5!             # Xתں ! õת
beta_dir_pin                      0.11!           # Yתں ! õת
gamma_dir_pin                     0.20!            # Zתں ! õת
extruder.hotend.dir_pin           0.22            # E0תں ! õת

network.ip_address                192.168.3.153    # IPַ
network.ip_mask                   255.255.255.0    # 
network.ip_gateway                192.168.3.1      # 


#---------------------------------------------------------------------------
#ǿҪ޸ĵĲ


default_feed_rate                            4000            # Ĭٶ ( mm/ ) for G1/G2/G3 moves
default_seek_rate                            4000            # Ĭٶ ( mm/ ) for G0 moves
acceleration                                 3000             # ٶ mm/ƽ.
junction_deviation                           0.05            # Marlin "max_jerk"
                                                             # ֵԽСЧԽãٶԽ

x_axis_max_speed                             30000            # Xٶ mm/min
y_axis_max_speed                             30000            # Yٶ mm/min
z_axis_max_speed                             30000              # Zٶ mm/min

alpha_max_rate                               30000.0          # Ҫx_axis_max_speed   һ
beta_max_rate                                30000.0          # Ҫy_axis_max_speed   һ
gamma_max_rate                               30000.0            # Ҫz_axis_max_speed   һ

extruder.hotend.default_feed_rate            600              # E0Ĭٶ ( mm/ )
extruder.hotend.acceleration                 500              # E0ٶ
extruder.hotend.max_speed                    50               # mm/s


alpha_max_endstop                            1.25^            #Xmaxλأں ! óǳ
beta_max_endstop                             1.27^            #Ymaxλأں ! óǳ
gamma_max_endstop                            1.29^            #Zmaxλأں ! óǳ



#ӡͷE0
extruder.hotend.enable                          true             # Whether to activate the extruder module at all. All configuration is ignored if false
extruder.hotend.step_pin                        2.3              # Pin for extruder step signal
extruder.hotend.en_pin                          0.21             # Pin for extruder enable signal

temperature_control.hotend.enable            true             # 
temperature_control.hotend.thermistor_pin    0.24             # 
temperature_control.hotend.heater_pin        2.7              # 
temperature_control.hotend.thermistor        RRRF100K         # 
temperature_control.hotend.set_m_code        104              #
temperature_control.hotend.set_and_wait_m_code 109            #
temperature_control.hotend.designator        T                #


# ˫ӡͷãҪʹ˫ӡͷҪȥõע

#extruder.hotend2.enable                          true             # 
#extruder.hotend2.steps_per_mm                    90               # E1ÿ1mm 
#extruder.hotend2.default_feed_rate               600              # E1Ĭٶ ( mm/ )
#extruder.hotend2.acceleration                    500              # E1ٶ
#extruder.hotend2.max_speed                       50               # mm/s
#extruder.hotend2.step_pin                        2.8              # 
#extruder.hotend2.dir_pin                         2.13             #  E1תں ! õת
#extruder.hotend2.en_pin                          4.29             # 
#epsilon_current                                  1.2              # E1С

#temperature_control.hotend2.enable            true             # 
#temperature_control.hotend2.thermistor_pin    0.25             # 
#temperature_control.hotend2.heater_pin        2.6             # 
#temperature_control.hotend2.thermistor        RRRF100K        # 
#temperature_control.hotend2.set_m_code        104              #
#temperature_control.hotend2.set_and_wait_m_code 109            #
#temperature_control.hotend2.designator        T1               #



# Զƽ
zprobe.enable                                true           # set to true to enable a zprobe
zprobe.probe_pin                             1.28^          # pin probe is attached to if NC remove the !
zprobe.slow_feedrate                         5               # mm/sec probe feed rate
zprobe.fast_feedrate                         100            # move feedrate mm/sec
zprobe.probe_height                          5               # how much above bed to start probe
leveling-strategy.delta-calibration.enable   true            # basic delta calibration
leveling-strategy.delta-calibration.radius   100             # the probe radius



#---------------------------------------------------------------------
#ǾҪ޸ģ˽


mm_per_arc_segment                           0.5              # Arcs are cut into segments ( lines ), this is the length for
                                                              # these segments.  Smaller values mean more resolution,
                                                              # higher values mean faster computation

delta_segments_per_second                    100              # for deltas only same as in Marlin/Delta, set to 0 to disable
                                                              # and use mm_per_line_segment

planner_queue_size                           32               # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
microseconds_per_step_pulse                  1                # Duration of step pulses to stepper drivers, in microseconds
base_stepping_frequency                      100000           # Base frequency for stepping, higher gives smoother movement
acceleration_ticks_per_second                1000             # Number of times per second the speed is updated

alpha_step_pin                               2.0              # Pin for alpha stepper step signal
alpha_en_pin                                 0.4              # Pin for alpha enable pin
beta_step_pin                                2.1              # Pin for beta stepper step signal
beta_en_pin                                  0.10             # Pin for beta enable
gamma_step_pin                               2.2              # Pin for gamma stepper step signal
gamma_en_pin                                 0.19             # Pin for gamma enable


uart0.baud_rate                              115200           # Baud rate for the default hardware serial port
second_usb_serial_enable                     true            # This enables a second usb serial port (to have both pronterface
                                                              # and a terminal connected)
pause_button_enable                          true             # Pause button enable




laser_module_enable                          false            # Whether to activate the laser module at all. All configuration is
                                                              # ignored if false.

#ȴ
temperature_control.bed.enable               true            #
temperature_control.bed.thermistor_pin       0.23             #
temperature_control.bed.heater_pin           2.5              #
temperature_control.bed.thermistor           RRRF100K    # see http://smoothieware.org/temperaturecontrol#toc5
temperature_control.bed.set_m_code           140              #
temperature_control.bed.set_and_wait_m_code  190              #
temperature_control.bed.designator           B                #

#temperature_control.bed.bang_bang            false           # set to true to use bang bang control rather than PID
#temperature_control.bed.hysteresis           2.0             # set to the temperature in degrees C to use as hysteresis
                                                              # when using bang bang

# 
switch.fan.enable                            true             #
switch.fan.input_on_command                  M106             #
switch.fan.input_off_command                 M107             #
switch.fan.output_pin                        2.4              #
switch.fan.output_type                       pwm              # pwm output settable with S parameter in the input_on_comand


#λ
endstops_enable                              true             # the endstop module is enabled by default and can be disabled here
delta_homing                                 true             # forces all three axis to home a the same time regardless of
                                                              # what is specified in G28
alpha_min_endstop                            nc               #
alpha_homing_direction                       home_to_max      # Home up
alpha_max                                    0                #
beta_min_endstop                             nc               #
beta_homing_direction                        home_to_max      #
beta_max                                     0                #
gamma_min_endstop                            nc               #
gamma_homing_direction                       home_to_max      #

alpha_fast_homing_rate_mm_s                  200              # homing feedrates in mm/second
beta_fast_homing_rate_mm_s                   200              #
gamma_fast_homing_rate_mm_s                  200              #
alpha_slow_homing_rate_mm_s                  20               #
beta_slow_homing_rate_mm_s                   20               #
gamma_slow_homing_rate_mm_s                  20

alpha_homing_retract_mm                      5                # retract/bounce distance after homing in mm
beta_homing_retract_mm                       5                #
gamma_homing_retract_mm                      5                #

alpha_trim                                   0                 # software trim for alpha stepper endstop (in mm)
beta_trim                                    0                 # software trim for beta stepper endstop (in mm)
gamma_trim                                   0                 # software trim for gamma stepper endstop (in mm)

#endstop_debounce_count                       100              # uncomment if you get noise on your endstops


pause_button_enable                          true             #


# MKS 12864
panel.enable                                 true             # set to true to enable the panel code
panel.lcd                                   reprap_discount_glcd     #
panel.spi_channel                           0                 # spi channel to use  ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin                            0.16              # spi chip select     ; GLCD EXP1 Pin 4
panel.encoder_a_pin                         3.25!^            # encoder pin         ; GLCD EXP2 Pin 3
panel.encoder_b_pin                         3.26!^            # encoder pin         ; GLCD EXP2 Pin 5
panel.click_button_pin                      1.30!^            # click button        ; GLCD EXP1 Pin 2
panel.buzz_pin                              1.31              # pin for buzzer      ; GLCD EXP1 Pin 1
panel.back_button_pin                       2.11!^            # back button         ; GLCD EXP2 Pin 8 or
panel.external_sd                     true              # set to true if there is an extrernal sdcard on the panel
panel.external_sd.spi_channel         1                 # set spi channel the sdcard is on
panel.external_sd.spi_cs_pin          0.28             # set spi chip select for the sdcard (or any spare pin)
panel.external_sd.sdcd_pin            0.27!^            # sd detect signal (set to nc if no sdcard detect) (or any spare pin)


panel.menu_offset                            1                 # some panels will need 1 here
panel.alpha_jog_feedrate                     6000              # x jogging feedrate in mm/min
panel.beta_jog_feedrate                      6000              # y jogging feedrate in mm/min
panel.gamma_jog_feedrate                     200               # z jogging feedrate in mm/min

panel.hotend_temperature                     185               # temp to set hotend when preheat is selected
panel.bed_temperature                        60                # temp to set bed when preheat is selected



# Զ幦 
# Example of a custom menu entry, which will show up in the Custom entry.
# NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
custom_menu.power_on.enable                true              #
custom_menu.power_on.name                  Power_on          #
custom_menu.power_on.command               M80               #

custom_menu.power_off.enable               true              #
custom_menu.power_off.name                 Power_off         #
custom_menu.power_off.command              M81               #

currentcontrol_module_enable                 true             #
return_error_on_unhandled_gcode              false            #

#
network.enable                               true            # enable the ethernet network services
network.webserver.enable                     true             # enable the webserver
network.telnet.enable                        true             # enable the telnet server


